#include<bits/stdc++.h>
#include<ext/pb_ds/assoc_container.hpp>
#include<ext/pb_ds/hash_policy.hpp>
#define int long long
#define y1 qazxsw
#define File(a) freopen(a".in","r",stdin),freopen(a".out","w",stdout)
const int mod=0;
inline int qpow(int x,int y)
{
	int num=1;
	while(y)
	{
		if(y&1)num=num*x%mod;
		x=x*x%mod;
		y>>=1;
	}
	return num;
}
using namespace std;
int n,c,a[1000005]; 
signed main()
{
	File("minimize");
	ios::sync_with_stdio(false);
	ios_base::sync_with_stdio(false);
	cin.tie(nullptr);
	cout.tie(nullptr);
	cin>>n>>c;
	for(int i=1;i<=n;i++)
		cin>>a[i];
	if(c==0)
	{
		cout<<0;
		return 0;
	}
	return 0;
}

